<?php

// Open a connection to the MySQL database server
mysql_connect("127.0.0.1", "root", "root");

// Select the requried database
mysql_select_db("library");

?>